package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.config.BigDataClientFallbackConfig;
import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * Data time:2022/4/12 10:33
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    @GetMapping("/currentUserCartItems")
    List<OrderItemVo> getCurrentUserCartItems();
}
